<script>
	export default {
		onLaunch: function() {
			this.globalData.sysinfo = uni.getSystemInfoSync();
		},
		globalData: {
			getModel: function() {
				// 获取手机型号
				return this.sysinfo["model"];
			},
			getWxVersion: function() {
				// 获取微信版本号
				return this.sysinfo["version"];
			},
			getSystem: function() {
				// 获取操作系统版本
				return this.sysinfo["system"];
			},
			getPlatform: function() {
				// 获取客户端平台
				return this.sysinfo["platform"];
			},
			getSDKVersion: function() {
				// 获取客户端基础库版本
				return this.sysinfo["SDKVersion"];
			},
			sysinfo: null,
			wxAccountInfo: null,
			serverUrl: "https://mc2test.tmqyt.com/",
			wxSdkKey: "042fc215252332550f278839dc037cb4",
			appId: "wxd162b163178687f5",
			sdkAccessToken: "",
			currentDeviceId: "",
			bindDeviceList: []
		},
		methods: {}
	};
</script>
<style>
	/**app.wxss**/
	page {
		background-color: #F8F8F8;
		height: 100%;
		font-size: 32rpx;
		line-height: 1.6;
	}

	.page-body {
		width: 100%;
		min-height: 100%;
		display: flex;
		flex-direction: column;
		/*垂直显示，正如一个列一样,row就是水平显示*/
		justify-content: center;
		/* center水平居中 align-items:center;垂直居中*/
		font-size: 32rpx;
		font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
	}

	.page-section {
		margin-bottom: 20rpx;
	}

	.container {
		display: flex;
		flex-direction: column;
		min-height: 100%;
		justify-content: space-between;
		font-size: 32rpx;
		font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
	}

	.text-box {
		margin-bottom: 10rpx;
		margin-top: 10rpx;
		padding: 10rpx 0;
		display: flex;
		min-height: 50rpx;
		background-color: #ddf;
		justify-content: center;
		align-items: center;
		text-align: center;
		font-size: 30rpx;
		color: #353535;
		line-height: 2em;
	}

	.weui-cells {
		position: relative;
		margin-top: 1.17647059em;
		background-color: #FFFFFF;
		line-height: 1.41176471;
		font-size: 17px;
	}

	.weui-cells:before {
		content: " ";
		position: absolute;
		left: 0;
		top: 0;
		right: 0;
		height: 1px;
		border-top: 1rpx solid #D9D9D9;
		color: #D9D9D9;
	}

	.weui-cells:after {
		content: " ";
		position: absolute;
		left: 0;
		bottom: 0;
		right: 0;
		height: 1px;
		border-bottom: 1rpx solid #D9D9D9;
		color: #D9D9D9;
	}

	.weui-cells__title {
		margin-top: .77em;
		margin-bottom: .3em;
		padding-left: 15px;
		padding-right: 15px;
		color: #333;
		font-size: 36rpx;
	}

	.weui-cell {
		padding: 10px 15px;
		position: relative;
		display: -webkit-box;
		display: -webkit-flex;
		display: flex;
		-webkit-box-align: center;
		-webkit-align-items: center;
		align-items: center;
	}

	.weui-cell:before {
		content: " ";
		position: absolute;
		left: 0;
		top: 0;
		right: 0;
		height: 1px;
		border-top: 1rpx solid #D9D9D9;
		color: #D9D9D9;
		left: 30rpx;
	}

	.weui-cell:first-child:before {
		display: none;
	}

	.weui-cells_after-title {
		margin-top: 0;
	}

	.weui-cell_input input {
		width: 100%;
	}

	.btn {
		width: 220rpx;
		padding: 16rpx 0;
		background-color: #c11720;
		color: #fff;
		border-radius: 10rpx;
		font-size: 36rpx;
		text-align: center;
	}

	.page-list-header {
		position: relative;
		width: 100%;
		height: 96rpx;
		line-height: 96rpx;
		text-align: center;
		font-size: 36rpx;
		background-color: #fff;
	}

	icon.setting {
		width: 36rpx;
		height: 36rpx;
		background: url() no-repeat transparent;
		background-size: 36rpx;
	}

	.ico-arrow-right {
		width: 30rpx;
		height: 30rpx;
		background: url("") no-repeat transparent;
		background-size: 30rpx auto;
	}

	.tal {
		text-align: left;
	}

	.tac {
		text-align: center;
	}

	.tar {
		text-align: right;
	}

	.fl {
		float: left;
	}

	.fr {
		float: right;
	}
</style>
